package com.impl;

public class UserDao {
    String name;
    String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserDao{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
    public void talk(){
        System.out.println("我是用户！");
    }
}
